package com.coderyeah.cosmetology.mapper;

import com.coderyeah.cosmetology.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.coderyeah.cosmetology.vo.OrderVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lqs
 * @since 2022-05-24
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {

    void createOrder(Order order);

    List<OrderVo> queryOrderData(String orderstate, String openid);
}
